home *** CD-ROM | disk | FTP | other *** search
/ Java Primer Plus / Java Primer Plus (Waite Group Proess)(1996).iso / java_Win / demo / ImageTest / ImageHelp.class (.txt) < prev    next >
Encoding:
Java Class File  |  1995-10-12  |  916 b   |  15 lines

  1. import java.awt.Container;
  2. import java.awt.GridLayout;
  3. import java.awt.Label;
  4. import java.awt.Panel;
  5.  
  6. class ImageHelp extends Panel {
  7.    public ImageHelp() {
  8.       ((Container)this).setLayout(new GridLayout(0, 2));
  9.       ((Container)this).add(new Label("Move the images using the arrow keys", 1));
  10.       ((Container)this).add(new Label("Resize the images using the PgUp/PgDn keys", 1));
  11.       ((Container)this).add(new Label("Toggle a red/blue color filter using the Home key", 1));
  12.       ((Container)this).add(new Label("Change the alpha using the shifted PgUp/PgDn keys", 1));
  13.    }
  14. }
  15.